package com.schedualnew.mq.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.schedualnew.mq.dto.exam.ExamApplyDto;
import com.schedualnew.mq.entity.ExamApply;
import com.schedualnew.mq.entity.ExamScheduleItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ExamApplyMapper extends BaseMapper<ExamApply> {
  int exist(ExamApply paramExamApply);
  
  int save(ExamApply paramExamApply);
  
  int myUpdate(ExamApply paramExamApply);
  
  int delete(String paramString);
  
  String getExamClass(Map<String, String> paramMap);
  
  String findApplyNoByReserve1(String paramString);


  ExamApplyDto getExamApply(ExamApplyDto p0);



  List<ExamApplyDto> findByApplyNo(ExamApplyDto p0);

  /**
   * 根据申请单号获取预约信息
   * @param applyNOs
   * @return
   */
  List<ExamScheduleItem> getExamScheduleItemByApplyNos(@Param("applyNOs") List<String> applyNOs);
}